package com.hhxy.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 一粒尘埃
 * @since 2023-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Notice对象", description="")
public class Notice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公告id")
    @TableId(value = "notice_id", type = IdType.ID_WORKER_STR)
    private String noticeId;

    @ApiModelProperty(value = "公告标题")
    private String noticeTitle;

    @ApiModelProperty(value = "公告内容")
    private String noticeContent;

    @ApiModelProperty(value = "公告发布时间")
    private Date noticeCreatetime;

    @ApiModelProperty(value = "公告过期时间")
    private Date noticePosttime;

    @ApiModelProperty(value = "公告重要等级")
    private Integer noticeGrade;

    @ApiModelProperty(value = "逻辑删除（0：未删除，1：已删除）")
    private Integer deleted;


}
